#include <iostream>

using std::cout;
using std::endl;

class A
{
protected:
    int _ia;

public:
    A() {}
    A(int a) : _ia{a} {}
    ~A() {}
};

class B : protected A
{
protected:
    int _ib;

public:
    B() {}
    B(int b) : _ib{b} {}
    ~B() {}
};

class C : private B
{
private:
    int _ic;

public:
    C() {}
    C(int c) : _ic{c} {}
    void show()
    {
        cout << "a = " << _ia << ", b = " << _ib << ", c = " << _ic << endl;
    }
    ~C() {}
};

int main(int args, char *argv[])
{

    B b;
    cout << "sizeof(b) = " << sizeof(b) << endl;

    C c;

    cout << "sizeof(c) = " << sizeof(c) << endl;

    c.show();

    return 0;
}